package com.wunu.smartlock1.activity;

import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;
import android.support.v7.app.AppCompatActivity;
import com.wunu.smartlock1.R;

/**
 * Created by admin on 2018/4/21.
 */

public class TemporyLockActivity extends AppCompatActivity{

    TextView temporaryKeyTextView;//临时密码
    TextView temporaryNameTextView;//名称

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.smartlock_lock_temporylock);
        temporaryKeyTextView = findViewById(R.id.temporaryKeyTextView);
        temporaryNameTextView = findViewById(R.id.temporaryNameTextView);

        temporaryKeyTextView.setText("332273");
        temporaryNameTextView.setText("名称:家大门");
        //给button按钮绑定单击事件，设置完参数后跳转到首页

}
}
